'use strict';

module.exports = app => {
	const {INTEGER,STRING}=app.Sequelize;

	const AdminNode=app.model.define('adminNode',{
		id:{type:INTEGER,primaryKey:true},
		pid:{type:INTEGER},
		name:{type:STRING(155)},
		control_name:{type:STRING(155)},
		action_name:{type:STRING(155)},
		is_menu:{type:INTEGER},
		sort:{type:INTEGER},
		create_time:{type:INTEGER},
		update_time:{type:INTEGER}});
	return AdminNode;
};